home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1994-09-30 | 6.8 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
100%
| file
| Emacs v18 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| gt2
| Kopftext: '(defvar sas-c-mode nil '
| default (weak)
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| text/x-emacs-lisp
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0a 28 64 65 66 76 61 72 | 20 73 61 73 2d 63 2d 6d |.(defvar| sas-c-m|
|00000010| 6f 64 65 20 6e 69 6c 20 | 22 5c 0a 56 61 72 69 61 |ode nil |"\.Varia|
|00000020| 62 6c 65 20 69 6e 64 69 | 63 61 74 69 6e 67 20 69 |ble indi|cating i|
|00000030| 66 20 74 68 65 20 73 61 | 73 2d 63 2d 6d 6f 64 65 |f the sa|s-c-mode|
|00000040| 20 69 73 20 61 63 74 69 | 76 65 2e 22 29 0a 0a 28 | is acti|ve.")..(|
|00000050| 64 65 66 76 61 72 20 73 | 61 73 2d 63 2d 63 6f 6d |defvar s|as-c-com|
|00000060| 70 69 6c 65 2d 63 6f 6d | 6d 61 6e 64 20 22 73 63 |pile-com|mand "sc|
|00000070| 3a 63 2f 73 6d 61 6b 65 | 22 20 22 5c 0a 54 68 65 |:c/smake|" "\.The|
|00000080| 20 63 6f 6d 6d 61 6e 64 | 20 74 6f 20 72 75 6e 20 | command| to run |
|00000090| 77 68 65 6e 20 74 68 65 | 20 66 75 6e 63 74 69 6f |when the| functio|
|000000a0| 6e 20 73 61 73 2d 63 2d | 62 75 69 6c 64 20 69 73 |n sas-c-|build is|
|000000b0| 20 65 78 65 63 75 74 65 | 64 2e 22 29 0a 0a 28 64 | execute|d.")..(d|
|000000c0| 65 66 75 6e 20 73 61 73 | 2d 63 2d 6d 6f 64 65 20 |efun sas|-c-mode |
|000000d0| 28 61 72 67 29 20 22 5c | 0a 4d 69 6e 6f 72 20 6d |(arg) "\|.Minor m|
|000000e0| 6f 64 65 20 77 68 69 63 | 68 20 65 6e 61 62 6c 65 |ode whic|h enable|
|000000f0| 73 20 45 6d 61 63 73 20 | 74 6f 20 63 6f 6d 6d 75 |s Emacs |to commu|
|00000100| 6e 69 63 61 74 65 20 77 | 69 74 68 20 53 43 4d 53 |nicate w|ith SCMS|
|00000110| 47 2c 0a 74 68 65 20 65 | 72 72 6f 72 20 68 61 6e |G,.the e|rror han|
|00000120| 64 6c 65 72 20 66 72 6f | 6d 20 53 41 53 2f 43 2e |dler fro|m SAS/C.|
|00000130| 20 49 66 20 74 68 65 20 | 66 75 6e 63 74 69 6f 6e | If the |function|
|00000140| 20 69 73 20 63 61 6c 6c | 65 64 20 77 69 74 68 6f | is call|ed witho|
|00000150| 75 74 20 61 72 67 73 0a | 74 68 65 20 6d 6f 64 65 |ut args.|the mode|
|00000160| 20 69 73 20 74 6f 67 67 | 6c 65 64 2c 20 61 20 70 | is togg|led, a p|
|00000170| 6f 73 69 74 69 76 65 20 | 69 6e 74 65 67 65 72 20 |ositive |integer |
|00000180| 73 77 69 74 63 68 65 6e | 20 69 74 20 6f 6e 20 61 |switchen| it on a|
|00000190| 6e 64 20 61 20 6e 65 67 | 61 74 69 76 65 20 6f 66 |nd a neg|ative of|
|000001a0| 66 2e 0a 0a 54 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |f...The |followin|
|000001b0| 67 20 6b 65 79 73 20 61 | 72 65 20 61 64 64 65 64 |g keys a|re added|
|000001c0| 20 74 6f 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 | to the |current |
|000001d0| 6c 6f 63 61 6c 20 6d 61 | 70 3a 0a 0a 43 2d 63 20 |local ma|p:..C-c |
|000001e0| 43 2d 61 09 09 44 69 73 | 70 6c 61 79 20 74 68 65 |C-a..Dis|play the|
|000001f0| 20 61 6c 74 65 72 6e 61 | 74 69 76 65 20 66 69 6c | alterna|tive fil|
|00000200| 65 2c 20 69 66 20 61 6e | 79 2e 0a 43 2d 63 20 43 |e, if an|y..C-c C|
|00000210| 2d 63 09 09 42 75 69 6c | 64 20 61 20 70 72 6f 6a |-c..Buil|d a proj|
|00000220| 65 63 74 20 61 63 63 6f | 72 69 6e 67 20 74 6f 20 |ect acco|ring to |
|00000230| 73 61 73 2d 63 2d 63 6f | 6d 70 69 6c 65 2d 63 6f |sas-c-co|mpile-co|
|00000240| 6d 6d 61 6e 64 2e 0a 43 | 2d 63 20 43 2d 63 09 09 |mmand..C|-c C-c..|
|00000250| 42 75 69 6c 64 20 74 68 | 65 20 70 72 6f 6a 65 63 |Build th|e projec|
|00000260| 74 20 74 68 65 20 73 61 | 6d 65 20 77 61 79 20 74 |t the sa|me way t|
|00000270| 68 65 20 62 75 69 6c 64 | 20 69 63 6f 6e 20 64 6f |he build| icon do|
|00000280| 65 73 2e 0a 43 2d 63 20 | 43 2d 64 09 09 44 65 6c |es..C-c |C-d..Del|
|00000290| 65 74 65 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |ete the |current |
|000002a0| 6d 65 73 73 61 67 65 2c | 20 61 6e 64 20 64 69 73 |message,| and dis|
|000002b0| 70 6c 61 79 20 6e 65 78 | 74 0a 43 2d 63 20 43 2d |play nex|t.C-c C-|
|000002c0| 68 09 09 48 69 64 65 20 | 74 68 65 20 53 43 4d 53 |h..Hide |the SCMS|
|000002d0| 47 20 77 69 6e 64 6f 77 | 2e 0a 43 2d 63 20 43 2d |G window|..C-c C-|
|000002e0| 6c 09 09 52 65 64 69 73 | 70 6c 61 79 20 63 75 72 |l..Redis|play cur|
|000002f0| 72 65 6e 74 20 6d 65 73 | 73 61 67 65 2e 0a 43 2d |rent mes|sage..C-|
|00000300| 63 20 43 2d 6d 09 09 42 | 75 69 6c 64 20 74 68 65 |c C-m..B|uild the|
|00000310| 20 70 72 6f 6a 65 63 74 | 20 75 73 69 6e 67 20 73 | project| using s|
|00000320| 6d 61 6b 65 0a 43 2d 63 | 20 43 2d 6e 09 09 44 69 |make.C-c| C-n..Di|
|00000330| 73 70 6c 61 79 20 6e 65 | 78 74 20 65 72 72 6f 72 |splay ne|xt error|
|00000340| 2e 0a 43 2d 63 20 3c 64 | 6f 77 6e 3e 09 64 69 74 |..C-c <d|own>.dit|
|00000350| 6f 0a 43 2d 63 20 43 2d | 70 09 09 44 69 73 70 6c |o.C-c C-|p..Displ|
|00000360| 61 79 20 70 72 65 76 69 | 6f 75 73 20 65 72 72 6f |ay previ|ous erro|
|00000370| 72 2e 0a 43 2d 63 20 43 | 2d 71 09 09 52 65 6d 6f |r..C-c C|-q..Remo|
|00000380| 76 65 20 61 6c 6c 20 6d | 65 73 73 61 67 65 73 20 |ve all m|essages |
|00000390| 66 6f 72 20 61 20 63 65 | 72 74 61 69 6e 20 70 72 |for a ce|rtain pr|
|000003a0| 69 6d 61 72 79 20 66 69 | 6c 65 2e 0a 43 2d 63 20 |imary fi|le..C-c |
|000003b0| 43 2d 73 09 09 53 68 6f | 77 20 74 68 65 20 53 43 |C-s..Sho|w the SC|
|000003c0| 4d 53 47 20 77 69 6e 64 | 6f 77 2e 0a 43 2d 63 20 |MSG wind|ow..C-c |
|000003d0| 3c 75 70 3e 09 64 69 74 | 6f 0a 43 2d 63 20 3c 09 |<up>.dit|o.C-c <.|
|000003e0| 09 47 6f 20 74 6f 20 74 | 68 65 20 66 69 72 73 74 |.Go to t|he first|
|000003f0| 20 65 72 72 6f 72 20 6d | 65 73 73 61 67 65 2e 0a | error m|essage..|
|00000400| 43 2d 63 20 3c 73 68 2e | 20 75 70 3e 09 64 69 74 |C-c <sh.| up>.dit|
|00000410| 6f 0a 43 2d 63 20 3e 09 | 09 47 6f 20 74 6f 20 74 |o.C-c >.|.Go to t|
|00000420| 68 65 20 6c 61 73 74 20 | 65 72 72 6f 72 20 6d 65 |he last |error me|
|00000430| 73 73 61 67 65 2e 0a 43 | 2d 63 20 3c 73 68 2e 20 |ssage..C|-c <sh. |
|00000440| 64 6f 77 6e 3e 09 64 69 | 74 6f 0a 0a 57 68 65 6e |down>.di|to..When|
|00000450| 20 73 61 73 2d 63 2d 6d | 6f 64 65 20 69 73 20 73 | sas-c-m|ode is s|
|00000460| 77 69 74 63 68 65 64 20 | 6f 6e 2c 20 74 68 65 20 |witched |on, the |
|00000470| 68 6f 6f 6b 20 73 61 73 | 2d 63 2d 68 6f 6f 6b 20 |hook sas|-c-hook |
|00000480| 69 73 20 63 61 6c 6c 65 | 64 2e 0a 0a 49 66 20 61 |is calle|d...If a|
|00000490| 20 6b 65 79 20 73 68 61 | 6c 6c 20 62 65 20 64 65 | key sha|ll be de|
|000004a0| 66 69 6e 65 64 2c 20 74 | 68 65 20 62 65 73 74 20 |fined, t|he best |
|000004b0| 77 61 79 20 69 73 20 74 | 6f 20 75 73 65 20 61 20 |way is t|o use a |
|000004c0| 68 6f 6f 6b 20 61 6e 64 | 20 74 68 65 0a 73 61 73 |hook and| the.sas|
|000004d0| 2d 63 2d 64 65 66 69 6e | 65 2d 6b 65 79 20 66 75 |-c-defin|e-key fu|
|000004e0| 6e 63 74 69 6f 6e 2e 20 | 54 68 69 73 20 77 61 79 |nction. |This way|
|000004f0| 20 74 68 65 20 6b 65 79 | 73 20 61 72 65 20 72 65 | the key|s are re|
|00000500| 6d 6f 76 65 64 20 61 6e | 64 20 74 68 65 0a 6f 72 |moved an|d the.or|
|00000510| 69 67 69 6e 61 6c 20 76 | 61 6c 75 65 73 20 61 72 |iginal v|alues ar|
|00000520| 65 20 72 65 73 74 6f 72 | 65 64 20 77 68 65 6e 20 |e restor|ed when |
|00000530| 73 61 73 2d 63 2d 6d 6f | 64 65 20 69 73 20 64 69 |sas-c-mo|de is di|
|00000540| 73 61 62 6c 65 64 2e 0a | 0a 46 6f 72 20 65 78 61 |sabled..|.For exa|
|00000550| 6d 70 6c 65 3a 0a 20 28 | 73 65 74 71 20 73 61 73 |mple:. (|setq sas|
|00000560| 2d 63 2d 6d 6f 64 65 2d | 68 6f 6f 6b 20 27 28 6c |-c-mode-|hook '(l|
|00000570| 61 6d 62 64 61 20 28 29 | 0a 09 09 20 20 20 20 28 |ambda ()|... (|
|00000580| 73 61 73 2d 63 2d 64 65 | 66 69 6e 65 2d 6b 65 79 |sas-c-de|fine-key|
|00000590| 20 5c 22 5c 5c 43 2d 63 | 61 5c 22 20 27 79 6f 75 | \"\\C-c|a\" 'you|
|000005a0| 72 2d 66 61 76 6f 72 69 | 74 65 2d 66 6e 6b 29 0a |r-favori|te-fnk).|
|000005b0| 09 09 20 20 20 20 28 73 | 61 73 2d 63 2d 64 65 66 |.. (s|as-c-def|
|000005c0| 69 6e 65 2d 6b 65 79 20 | 5c 22 5c 5c 43 2d 63 62 |ine-key |\"\\C-cb|
|000005d0| 5c 22 20 27 61 6e 6f 74 | 68 65 72 2d 66 75 6e 63 |\" 'anot|her-func|
|000005e0| 74 69 6f 6e 29 0a 09 09 | 20 20 20 20 29 29 22 20 |tion)...| ))" |
|000005f0| 28 69 6e 74 65 72 61 63 | 74 69 76 65 20 22 50 22 |(interac|tive "P"|
|00000600| 29 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c5 88 |) (byte-|code "..|
|00000610| c6 c1 21 88 c6 c4 21 88 | 09 18 0a 3f 83 16 00 09 |..!...!.|...?....|
|00000620| 3f 82 1b 00 c7 0a 21 c8 | 56 89 11 88 c9 c1 0b 5c |?.....!.|V......\|
|00000630| 22 86 2a 00 ca 0b 42 89 | 13 88 09 85 31 00 08 3f |".*...B.|....1..?|
|00000640| 83 98 00 c5 89 14 88 cb | cc cd 5c 22 88 cb ce cf |........|..\"....|
|00000650| 5c 22 88 cb d0 d1 5c 22 | 88 cb d2 d3 5c 22 88 cb |\"....\"|....\"..|
|00000660| d4 d5 5c 22 88 cb d6 d7 | 5c 22 88 cb d8 d9 5c 22 |..\"....|\"....\"|
|00000670| 88 cb da db 5c 22 88 cb | dc db 5c 22 88 cb dd de |....\"..|..\"....|
|00000680| 5c 22 88 cb df de 5c 22 | 88 cb e0 e1 5c 22 88 cb |\"....\"|....\"..|
|00000690| e0 e2 5c 22 88 cb e3 e4 | 5c 22 88 cb e5 e6 5c 22 |..\"....|\"....\"|
|000006a0| 88 cb e7 e6 5c 22 88 cb | e8 e9 5c 22 88 cb ea e9 |....\"..|..\"....|
|000006b0| 5c 22 88 eb ec 21 82 a3 | 00 09 3f 85 9e 00 08 85 |\"...!..|..?.....|
|000006c0| a3 00 ed 20 29 87 22 20 | 5b 73 61 73 2d 63 2d 6d |... )." |[sas-c-m|
|000006d0| 6f 64 65 2d 6f 72 69 67 | 20 73 61 73 2d 63 2d 6d |ode-orig| sas-c-m|
|000006e0| 6f 64 65 20 61 72 67 20 | 6d 69 6e 6f 72 2d 6d 6f |ode arg |minor-mo|
|000006f0| 64 65 2d 61 6c 69 73 74 | 20 73 61 73 2d 63 2d 6f |de-alist| sas-c-o|
|00000700| 72 69 67 69 6e 61 6c 2d | 6b 65 79 73 20 6e 69 6c |riginal-|keys nil|
|00000710| 20 6d 61 6b 65 2d 6c 6f | 63 61 6c 2d 76 61 72 69 | make-lo|cal-vari|
|00000720| 61 62 6c 65 20 70 72 65 | 66 69 78 2d 6e 75 6d 65 |able pre|fix-nume|
|00000730| 72 69 63 2d 76 61 6c 75 | 65 20 30 20 61 73 73 71 |ric-valu|e 0 assq|
|00000740| 20 28 73 61 73 2d 63 2d | 6d 6f 64 65 20 22 20 53 | (sas-c-|mode " S|
|00000750| 41 53 2f 43 22 29 20 73 | 61 73 2d 63 2d 64 65 66 |AS/C") s|as-c-def|
|00000760| 69 6e 65 2d 6b 65 79 20 | 22 03 01 22 20 73 61 73 |ine-key |".." sas|
|00000770| 2d 63 2d 64 69 73 70 6c | 61 79 2d 61 6c 74 66 69 |-c-displ|ay-altfi|
|00000780| 6c 65 20 22 03 02 22 20 | 73 61 73 2d 63 2d 62 75 |le ".." |sas-c-bu|
|00000790| 69 6c 64 20 22 03 03 22 | 20 73 61 73 2d 63 2d 63 |ild ".."| sas-c-c|
|000007a0| 6f 6d 70 69 6c 65 20 22 | 03 04 22 20 73 61 73 2d |ompile "|.." sas-|
|000007b0| 63 2d 64 65 6c 65 74 65 | 20 22 03 08 22 20 73 61 |c-delete| ".." sa|
|000007c0| 73 2d 63 2d 68 69 64 65 | 20 22 03 0c 22 20 73 61 |s-c-hide| ".." sa|
|000007d0| 73 2d 63 2d 64 69 73 70 | 6c 61 79 2d 65 72 72 6f |s-c-disp|lay-erro|
|000007e0| 72 20 22 03 0d 22 20 73 | 61 73 2d 63 2d 6d 61 6b |r ".." s|as-c-mak|
|000007f0| 65 20 22 03 0e 22 20 73 | 61 73 2d 63 2d 6e 65 78 |e ".." s|as-c-nex|
|00000800| 74 20 22 03 18 1e 42 22 | 20 22 03 10 22 20 73 61 |t "...B"| ".." sa|
|00000810| 73 2d 63 2d 70 72 65 76 | 20 22 03 18 1e 41 22 20 |s-c-prev| "...A" |
|00000820| 22 03 11 22 20 73 61 73 | 2d 63 2d 64 65 6c 63 6f |".." sas|-c-delco|
|00000830| 6d 70 20 73 61 73 2d 63 | 2d 64 65 6c 66 69 6c 65 |mp sas-c|-delfile|
|00000840| 20 22 03 13 22 20 73 61 | 73 2d 63 2d 73 68 6f 77 | ".." sa|s-c-show|
|00000850| 20 22 03 3c 22 20 73 61 | 73 2d 63 2d 74 6f 70 20 | ".<" sa|s-c-top |
|00000860| 22 03 18 1e 54 22 20 22 | 03 3e 22 20 73 61 73 2d |"...T" "|.>" sas-|
|00000870| 63 2d 62 6f 74 74 6f 6d | 20 22 03 18 1e 53 22 20 |c-bottom| "...S" |
|00000880| 72 75 6e 2d 68 6f 6f 6b | 73 20 73 61 73 2d 63 2d |run-hook|s sas-c-|
|00000890| 6d 6f 64 65 2d 68 6f 6f | 6b 20 73 61 73 2d 63 2d |mode-hoo|k sas-c-|
|000008a0| 75 6e 64 65 66 2d 6b 65 | 79 73 5d 20 32 35 29 29 |undef-ke|ys] 25))|
|000008b0| 0a 0a 28 64 65 66 75 6e | 20 73 61 73 2d 63 2d 64 |..(defun| sas-c-d|
|000008c0| 65 66 69 6e 65 2d 6b 65 | 79 20 28 6b 65 79 20 66 |efine-ke|y (key f|
|000008d0| 6e 6b 29 20 22 5c 0a 4d | 61 6b 65 20 61 20 6b 65 |nk) "\.M|ake a ke|
|000008e0| 79 62 69 6e 64 69 6e 67 | 20 77 68 69 63 68 20 63 |ybinding| which c|
|000008f0| 61 6e 20 62 65 20 75 6e | 64 6f 6e 65 2e 22 20 28 |an be un|done." (|
|00000900| 62 79 74 65 2d 63 6f 64 | 65 20 22 09 c3 09 21 42 |byte-cod|e "...!B|
|00000910| 08 42 89 10 88 c4 09 0a | 5c 22 87 22 20 5b 73 61 |.B......|\"." [sa|
|00000920| 73 2d 63 2d 6f 72 69 67 | 69 6e 61 6c 2d 6b 65 79 |s-c-orig|inal-key|
|00000930| 73 20 6b 65 79 20 66 6e | 6b 20 6c 6f 63 61 6c 2d |s key fn|k local-|
|00000940| 6b 65 79 2d 62 69 6e 64 | 69 6e 67 20 6c 6f 63 61 |key-bind|ing loca|
|00000950| 6c 2d 73 65 74 2d 6b 65 | 79 5d 20 34 29 29 0a 0a |l-set-ke|y] 4))..|
|00000960| 28 64 65 66 75 6e 20 73 | 61 73 2d 63 2d 75 6e 64 |(defun s|as-c-und|
|00000970| 65 66 2d 6b 65 79 73 20 | 6e 69 6c 20 22 5c 0a 55 |ef-keys |nil "\.U|
|00000980| 6e 6d 61 6b 65 20 74 68 | 65 20 6b 65 79 62 69 6e |nmake th|e keybin|
|00000990| 64 69 6e 67 73 20 6d 61 | 64 65 20 62 79 20 73 61 |dings ma|de by sa|
|000009a0| 73 2d 63 2d 6d 6f 64 65 | 0a 61 6e 64 20 72 65 73 |s-c-mode|.and res|
|000009b0| 74 6f 72 65 20 74 68 65 | 20 6b 65 79 73 20 70 72 |tore the| keys pr|
|000009c0| 65 76 69 6f 75 73 20 76 | 61 6c 75 65 73 2e 22 20 |evious v|alues." |
|000009d0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 08 85 26 00 |(byte-co|de "..&.|
|000009e0| 08 40 41 08 40 40 1a 19 | c3 09 21 83 18 00 c4 0a |.@A.@@..|..!.....|
|000009f0| 21 82 1c 00 c5 0a 09 5c | 22 2a 88 08 41 89 10 88 |!......\|"*..A...|
|00000a00| 82 00 00 87 22 20 5b 73 | 61 73 2d 63 2d 6f 72 69 |...." [s|as-c-ori|
|00000a10| 67 69 6e 61 6c 2d 6b 65 | 79 73 20 66 6e 6b 20 6b |ginal-ke|ys fnk k|
|00000a20| 65 79 20 6e 75 6d 62 65 | 72 70 20 6c 6f 63 61 6c |ey numbe|rp local|
|00000a30| 2d 75 6e 73 65 74 2d 6b | 65 79 20 6c 6f 63 61 6c |-unset-k|ey local|
|00000a40| 2d 73 65 74 2d 6b 65 79 | 5d 20 36 29 29 0a 0a 28 |-set-key|] 6))..(|
|00000a50| 64 65 66 75 6e 20 73 61 | 73 2d 63 2d 64 65 6c 65 |defun sa|s-c-dele|
|00000a60| 74 65 20 6e 69 6c 20 22 | 5c 0a 44 65 6c 65 74 65 |te nil "|\.Delete|
|00000a70| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 65 72 72 | the cur|rent err|
|00000a80| 6f 72 20 6d 65 73 73 61 | 67 65 20 61 6e 64 20 6d |or messa|ge and m|
|00000a90| 6f 76 65 20 74 6f 20 74 | 68 65 20 6e 65 78 74 2e |ove to t|he next.|
|00000aa0| 22 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 29 20 |" (inter|active) |
|00000ab0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 88 c1 c2 |(byte-co|de "....|
|00000ac0| 21 88 c3 20 87 22 20 5b | 6e 69 6c 20 73 61 73 2d |!.. ." [|nil sas-|
|00000ad0| 63 2d 73 63 6d 73 67 20 | 22 64 65 6c 65 74 65 22 |c-scmsg |"delete"|
|00000ae0| 20 73 61 73 2d 63 2d 64 | 69 73 70 6c 61 79 2d 65 | sas-c-d|isplay-e|
|00000af0| 72 72 6f 72 5d 20 33 29 | 29 0a 0a 28 64 65 66 75 |rror] 3)|)..(defu|
|00000b00| 6e 20 73 61 73 2d 63 2d | 6e 65 78 74 20 6e 69 6c |n sas-c-|next nil|
|00000b10| 20 22 5c 0a 4d 6f 76 65 | 20 74 6f 20 74 68 65 20 | "\.Move| to the |
|00000b20| 6e 65 73 74 20 65 72 72 | 6f 72 20 6d 65 73 73 61 |nest err|or messa|
|00000b30| 67 65 2e 22 20 28 69 6e | 74 65 72 61 63 74 69 76 |ge." (in|teractiv|
|00000b40| 65 29 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |e) (byte|-code ".|
|00000b50| 88 c1 c2 21 c3 3d 3f 83 | 11 00 c4 c5 21 82 13 00 |...!.=?.|....!...|
|00000b60| c6 20 87 22 20 5b 6e 69 | 6c 20 73 61 73 2d 63 2d |. ." [ni|l sas-c-|
|00000b70| 73 63 6d 73 67 20 22 6e | 65 78 74 22 20 30 20 6d |scmsg "n|ext" 0 m|
|00000b80| 65 73 73 61 67 65 20 22 | 4e 6f 20 6d 6f 72 65 20 |essage "|No more |
|00000b90| 6d 65 73 73 61 67 65 73 | 22 20 73 61 73 2d 63 2d |messages|" sas-c-|
|00000ba0| 64 69 73 70 6c 61 79 2d | 65 72 72 6f 72 5d 20 34 |display-|error] 4|
|00000bb0| 29 29 0a 0a 28 64 65 66 | 75 6e 20 73 61 73 2d 63 |))..(def|un sas-c|
|00000bc0| 2d 70 72 65 76 20 6e 69 | 6c 20 22 5c 0a 4d 6f 76 |-prev ni|l "\.Mov|
|00000bd0| 65 20 74 6f 20 74 68 65 | 20 70 72 65 76 6f 75 73 |e to the| prevous|
|00000be0| 20 65 72 72 6f 72 20 6d | 65 73 73 61 67 65 2e 22 | error m|essage."|
|00000bf0| 20 28 69 6e 74 65 72 61 | 63 74 69 76 65 29 20 28 | (intera|ctive) (|
|00000c00| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 88 c1 c2 21 |byte-cod|e "....!|
|00000c10| c3 3d 3f 83 11 00 c4 c5 | 21 82 13 00 c6 20 87 22 |.=?.....|!.... ."|
|00000c20| 20 5b 6e 69 6c 20 73 61 | 73 2d 63 2d 73 63 6d 73 | [nil sa|s-c-scms|
|00000c30| 67 20 22 70 72 65 76 22 | 20 30 20 6d 65 73 73 61 |g "prev"| 0 messa|
|00000c40| 67 65 20 22 4e 6f 20 6d | 6f 72 65 20 6d 65 73 73 |ge "No m|ore mess|
|00000c50| 61 67 65 73 22 20 73 61 | 73 2d 63 2d 64 69 73 70 |ages" sa|s-c-disp|
|00000c60| 6c 61 79 2d 65 72 72 6f | 72 5d 20 34 29 29 0a 0a |lay-erro|r] 4))..|
|00000c70| 28 64 65 66 75 6e 20 73 | 61 73 2d 63 2d 74 6f 70 |(defun s|as-c-top|
|00000c80| 20 6e 69 6c 20 22 5c 0a | 4d 6f 76 65 20 74 6f 20 | nil "\.|Move to |
|00000c90| 74 68 65 20 66 69 72 73 | 74 20 65 72 72 6f 72 20 |the firs|t error |
|00000ca0| 6d 65 73 73 61 67 65 2e | 22 20 28 69 6e 74 65 72 |message.|" (inter|
|00000cb0| 61 63 74 69 76 65 29 20 | 28 62 79 74 65 2d 63 6f |active) |(byte-co|
|00000cc0| 64 65 20 22 c0 88 c1 c2 | 21 88 c3 20 87 22 20 5b |de "....|!.. ." [|
|00000cd0| 6e 69 6c 20 73 61 73 2d | 63 2d 73 63 6d 73 67 20 |nil sas-|c-scmsg |
|00000ce0| 22 74 6f 70 22 20 73 61 | 73 2d 63 2d 64 69 73 70 |"top" sa|s-c-disp|
|00000cf0| 6c 61 79 2d 65 72 72 6f | 72 5d 20 33 29 29 0a 0a |lay-erro|r] 3))..|
|00000d00| 28 64 65 66 75 6e 20 73 | 61 73 2d 63 2d 62 6f 74 |(defun s|as-c-bot|
|00000d10| 74 6f 6d 20 6e 69 6c 20 | 22 5c 0a 4d 6f 76 65 20 |tom nil |"\.Move |
|00000d20| 74 6f 20 74 68 65 20 6c | 61 73 74 20 65 72 72 6f |to the l|ast erro|
|00000d30| 72 20 6d 65 73 73 61 67 | 65 2e 22 20 28 69 6e 74 |r messag|e." (int|
|00000d40| 65 72 61 63 74 69 76 65 | 29 20 28 62 79 74 65 2d |eractive|) (byte-|
|00000d50| 63 6f 64 65 20 22 c0 88 | c1 c2 21 88 c3 20 87 22 |code "..|..!.. ."|
|00000d60| 20 5b 6e 69 6c 20 73 61 | 73 2d 63 2d 73 63 6d 73 | [nil sa|s-c-scms|
|00000d70| 67 20 22 62 6f 74 74 6f | 6d 22 20 73 61 73 2d 63 |g "botto|m" sas-c|
|00000d80| 2d 64 69 73 70 6c 61 79 | 2d 65 72 72 6f 72 5d 20 |-display|-error] |
|00000d90| 33 29 29 0a 0a 28 64 65 | 66 75 6e 20 73 61 73 2d |3))..(de|fun sas-|
|00000da0| 63 2d 64 65 6c 63 6f 6d | 70 2d 63 75 72 72 65 6e |c-delcom|p-curren|
|00000db0| 74 20 6e 69 6c 20 22 5c | 0a 44 65 6c 65 74 65 20 |t nil "\|.Delete |
|00000dc0| 61 6c 6c 20 6d 65 73 73 | 61 67 65 73 20 66 6f 72 |all mess|ages for|
|00000dd0| 20 74 68 65 20 70 72 69 | 6d 61 72 79 20 66 69 6c | the pri|mary fil|
|00000de0| 65 20 6f 66 20 74 68 65 | 20 63 75 72 72 65 6e 74 |e of the| current|
|00000df0| 20 65 72 72 6f 72 2e 22 | 20 28 62 79 74 65 2d 63 | error."| (byte-c|
|00000e00| 6f 64 65 20 22 c0 c1 21 | 87 22 20 5b 73 61 73 2d |ode "..!|." [sas-|
|00000e10| 63 2d 73 63 6d 73 67 20 | 22 64 65 6c 63 6f 6d 70 |c-scmsg |"delcomp|
|00000e20| 22 5d 20 32 29 29 0a 0a | 28 64 65 66 75 6e 20 73 |"] 2))..|(defun s|
|00000e30| 61 73 2d 63 2d 64 65 6c | 63 6f 6d 70 20 28 66 69 |as-c-del|comp (fi|
|00000e40| 6c 65 6e 61 6d 65 29 20 | 22 5c 0a 44 65 6c 65 74 |lename) |"\.Delet|
|00000e50| 65 20 61 6c 6c 20 6d 65 | 73 73 61 67 65 73 20 77 |e all me|ssages w|
|00000e60| 69 74 68 20 74 68 65 20 | 73 70 65 63 69 66 69 65 |ith the |specifie|
|00000e70| 64 20 66 69 6c 65 6e 61 | 6d 65 20 61 73 20 70 72 |d filena|me as pr|
|00000e80| 69 6d 61 72 79 20 66 69 | 6c 65 6e 61 6d 65 2e 22 |imary fi|lename."|
|00000e90| 20 28 69 6e 74 65 72 61 | 63 74 69 76 65 20 22 66 | (intera|ctive "f|
|00000ea0| 46 69 6c 65 6e 61 6d 65 | 20 28 50 72 65 73 73 20 |Filename| (Press |
|00000eb0| 72 65 74 75 72 6e 20 66 | 6f 72 20 63 75 72 72 65 |return f|or curre|
|00000ec0| 6e 74 20 66 69 6c 65 29 | 3a 20 22 29 20 28 62 79 |nt file)|: ") (by|
|00000ed0| 74 65 2d 63 6f 64 65 20 | 22 c1 88 c2 c3 c4 08 5c |te-code |"......\|
|00000ee0| 22 21 87 22 20 5b 66 69 | 6c 65 6e 61 6d 65 20 6e |"!." [fi|lename n|
|00000ef0| 69 6c 20 73 61 73 2d 63 | 2d 73 63 6d 73 67 20 66 |il sas-c|-scmsg f|
|00000f00| 6f 72 6d 61 74 20 22 64 | 65 6c 63 6f 6d 70 20 5c |ormat "d|elcomp \|
|00000f10| 22 25 73 5c 22 22 5d 20 | 34 29 29 0a 0a 28 64 65 |"%s\""] |4))..(de|
|00000f20| 66 75 6e 20 73 61 73 2d | 63 2d 64 65 6c 66 69 6c |fun sas-|c-delfil|
|00000f30| 65 2d 63 75 72 72 65 6e | 74 20 6e 69 6c 20 22 5c |e-curren|t nil "\|
|00000f40| 0a 44 65 6c 65 74 65 20 | 61 6c 6c 20 6d 65 73 73 |.Delete |all mess|
|00000f50| 61 67 65 73 20 66 6f 72 | 20 74 68 65 20 73 65 63 |ages for| the sec|
|00000f60| 6f 6e 64 61 72 79 20 66 | 69 6c 65 20 6f 66 20 74 |ondary f|ile of t|
|00000f70| 68 65 20 63 75 72 72 65 | 6e 74 20 65 72 72 6f 72 |he curre|nt error|
|00000f80| 2e 22 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |." (byte|-code ".|
|00000f90| c1 21 87 22 20 5b 73 61 | 73 2d 63 2d 73 63 6d 73 |.!." [sa|s-c-scms|
|00000fa0| 67 20 22 64 65 6c 66 69 | 6c 65 22 5d 20 32 29 29 |g "delfi|le"] 2))|
|00000fb0| 0a 0a 28 64 65 66 75 6e | 20 73 61 73 2d 63 2d 64 |..(defun| sas-c-d|
|00000fc0| 65 6c 66 69 6c 65 20 28 | 66 69 6c 65 6e 61 6d 65 |elfile (|filename|
|00000fd0| 29 20 22 5c 0a 44 65 6c | 65 74 65 20 61 6c 6c 20 |) "\.Del|ete all |
|00000fe0| 6d 65 73 73 61 67 65 73 | 20 77 69 74 68 20 74 68 |messages| with th|
|00000ff0| 65 20 73 70 65 63 69 66 | 69 65 64 20 66 69 6c 65 |e specif|ied file|
|00001000| 6e 61 6d 65 20 61 73 20 | 73 65 63 6f 6e 64 61 72 |name as |secondar|
|00001010| 79 20 66 69 6c 65 6e 61 | 6d 65 2e 22 20 28 69 6e |y filena|me." (in|
|00001020| 74 65 72 61 63 74 69 76 | 65 20 22 66 46 69 6c 65 |teractiv|e "fFile|
|00001030| 6e 61 6d 65 20 28 50 72 | 65 73 73 20 72 65 74 75 |name (Pr|ess retu|
|00001040| 72 6e 20 66 6f 72 20 63 | 75 72 72 65 6e 74 20 66 |rn for c|urrent f|
|00001050| 69 6c 65 29 3a 20 22 29 | 20 28 62 79 74 65 2d 63 |ile): ")| (byte-c|
|00001060| 6f 64 65 20 22 c1 88 c2 | c3 c4 08 5c 22 21 87 22 |ode "...|...\"!."|
|00001070| 20 5b 66 69 6c 65 6e 61 | 6d 65 20 6e 69 6c 20 73 | [filena|me nil s|
|00001080| 61 73 2d 63 2d 73 63 6d | 73 67 20 66 6f 72 6d 61 |as-c-scm|sg forma|
|00001090| 74 20 22 64 65 6c 66 69 | 6c 65 20 5c 22 25 5c 22 |t "delfi|le \"%\"|
|000010a0| 73 22 5d 20 34 29 29 0a | 0a 28 64 65 66 75 6e 20 |s"] 4)).|.(defun |
|000010b0| 73 61 73 2d 63 2d 73 68 | 6f 77 20 28 26 20 6f 70 |sas-c-sh|ow (& op|
|000010c0| 74 69 6f 6e 61 6c 20 61 | 72 67 29 20 22 5c 0a 53 |tional a|rg) "\.S|
|000010d0| 68 6f 77 20 74 68 65 20 | 73 63 6d 73 67 20 77 69 |how the |scmsg wi|
|000010e0| 6e 64 6f 77 2e 0a 49 66 | 20 63 61 6c 6c 65 64 20 |ndow..If| called |
|000010f0| 77 69 74 68 20 61 72 67 | 75 6d 65 6e 74 73 20 74 |with arg|uments t|
|00001100| 68 65 20 77 69 6e 64 6f | 77 20 67 65 74 73 20 75 |he windo|w gets u|
|00001110| 6e 61 63 74 69 76 61 74 | 65 64 2e 22 20 28 69 6e |nactivat|ed." (in|
|00001120| 74 65 72 61 63 74 69 76 | 65 20 22 50 22 29 20 28 |teractiv|e "P") (|
|00001130| 62 79 74 65 2d 63 6f 64 | 65 20 22 c1 88 c2 08 83 |byte-cod|e ".....|
|00001140| 0b 00 c3 82 0c 00 c4 21 | 87 22 20 5b 61 72 67 20 |.......!|." [arg |
|00001150| 6e 69 6c 20 73 61 73 2d | 63 2d 73 63 6d 73 67 20 |nil sas-|c-scmsg |
|00001160| 22 73 68 6f 77 22 20 22 | 73 68 6f 77 20 61 63 74 |"show" "|show act|
|00001170| 69 76 61 74 65 22 5d 20 | 32 29 29 0a 0a 28 64 65 |ivate"] |2))..(de|
|00001180| 66 75 6e 20 73 61 73 2d | 63 2d 68 69 64 65 20 6e |fun sas-|c-hide n|
|00001190| 69 6c 20 22 5c 0a 53 68 | 6f 77 20 74 68 65 20 73 |il "\.Sh|ow the s|
|000011a0| 63 6d 73 67 20 77 69 6e | 64 6f 77 2e 22 20 28 69 |cmsg win|dow." (i|
|000011b0| 6e 74 65 72 61 63 74 69 | 76 65 29 20 28 62 79 74 |nteracti|ve) (byt|
|000011c0| 65 2d 63 6f 64 65 20 22 | c0 88 c1 c2 21 87 22 20 |e-code "|....!." |
|000011d0| 5b 6e 69 6c 20 73 61 73 | 2d 63 2d 73 63 6d 73 67 |[nil sas|-c-scmsg|
|000011e0| 20 22 68 69 64 65 22 5d | 20 32 29 29 0a 0a 28 64 | "hide"]| 2))..(d|
|000011f0| 65 66 75 6e 20 73 61 73 | 2d 63 2d 63 6f 6d 70 69 |efun sas|-c-compi|
|00001200| 6c 65 20 6e 69 6c 20 22 | 5c 0a 42 75 69 6c 64 20 |le nil "|\.Build |
|00001210| 77 69 74 68 20 53 41 53 | 2f 43 2e 20 54 68 65 20 |with SAS|/C. The |
|00001220| 63 6f 6d 6d 61 6e 64 20 | 69 6e 20 73 61 73 2d 63 |command |in sas-c|
|00001230| 2d 63 6f 6d 70 69 6c 65 | 2d 63 6f 6d 6d 61 6e 64 |-compile|-command|
|00001240| 20 69 73 20 65 78 65 63 | 75 74 65 64 0a 61 6e 64 | is exec|uted.and|
|00001250| 20 74 68 65 20 6f 75 74 | 70 75 74 20 69 73 20 70 | the out|put is p|
|00001260| 6c 61 63 65 73 20 69 6e | 20 74 68 65 20 62 75 66 |laces in| the buf|
|00001270| 66 65 72 20 2a 63 6f 6d | 70 69 6c 61 74 69 6f 6e |fer *com|pilation|
|00001280| 2a 22 20 28 69 6e 74 65 | 72 61 63 74 69 76 65 29 |*" (inte|ractive)|
|00001290| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c1 88 c2 | (byte-c|ode "...|
|000012a0| 08 21 87 22 20 5b 73 61 | 73 2d 63 2d 63 6f 6d 70 |.!." [sa|s-c-comp|
|000012b0| 69 6c 65 2d 63 6f 6d 6d | 61 6e 64 20 6e 69 6c 20 |ile-comm|and nil |
|000012c0| 63 6f 6d 70 69 6c 65 5d | 20 32 29 29 0a 0a 28 64 |compile]| 2))..(d|
|000012d0| 65 66 75 6e 20 73 61 73 | 2d 63 2d 62 75 69 6c 64 |efun sas|-c-build|
|000012e0| 20 6e 69 6c 20 22 5c 0a | 42 75 69 6c 64 20 74 68 | nil "\.|Build th|
|000012f0| 65 20 70 72 6f 6a 65 63 | 74 20 74 68 65 20 73 61 |e projec|t the sa|
|00001300| 6d 65 20 77 61 79 20 74 | 68 65 20 62 75 69 6c 64 |me way t|he build|
|00001310| 20 69 63 6f 6e 20 64 6f | 65 73 22 20 28 69 6e 74 | icon do|es" (int|
|00001320| 65 72 61 63 74 69 76 65 | 29 20 28 62 79 74 65 2d |eractive|) (byte-|
|00001330| 63 6f 64 65 20 22 c0 88 | c1 c2 21 87 22 20 5b 6e |code "..|..!." [n|
|00001340| 69 6c 20 63 6f 6d 70 69 | 6c 65 20 22 73 63 3a 63 |il compi|le "sc:c|
|00001350| 2f 73 63 20 42 55 49 4c | 44 50 52 4f 4a 45 43 54 |/sc BUIL|DPROJECT|
|00001360| 22 5d 20 32 29 29 0a 0a | 28 64 65 66 75 6e 20 73 |"] 2))..|(defun s|
|00001370| 61 73 2d 63 2d 6d 61 6b | 65 20 6e 69 6c 20 22 5c |as-c-mak|e nil "\|
|00001380| 0a 42 75 69 6c 64 20 74 | 68 65 20 70 72 6f 6a 65 |.Build t|he proje|
|00001390| 63 74 20 75 73 69 6e 67 | 20 73 6d 61 6b 65 22 20 |ct using| smake" |
|000013a0| 28 69 6e 74 65 72 61 63 | 74 69 76 65 29 20 28 62 |(interac|tive) (b|
|000013b0| 79 74 65 2d 63 6f 64 65 | 20 22 c0 88 c1 c2 21 87 |yte-code| "....!.|
|000013c0| 22 20 5b 6e 69 6c 20 63 | 6f 6d 70 69 6c 65 20 22 |" [nil c|ompile "|
|000013d0| 73 63 3a 63 2f 73 6d 61 | 6b 65 22 5d 20 32 29 29 |sc:c/sma|ke"] 2))|
|000013e0| 0a 0a 28 64 65 66 75 6e | 20 73 61 73 2d 63 2d 64 |..(defun| sas-c-d|
|000013f0| 69 73 70 6c 61 79 2d 65 | 72 72 6f 72 20 6e 69 6c |isplay-e|rror nil|
|00001400| 20 22 5c 0a 44 69 73 70 | 6c 61 79 20 74 68 65 20 | "\.Disp|lay the |
|00001410| 63 75 72 72 65 6e 74 20 | 65 72 72 6f 72 20 69 6e |current |error in|
|00001420| 20 53 43 4d 53 47 2e 22 | 20 28 69 6e 74 65 72 61 | SCMSG."| (intera|
|00001430| 63 74 69 76 65 29 20 28 | 62 79 74 65 2d 63 6f 64 |ctive) (|byte-cod|
|00001440| 65 20 22 c1 88 c2 c3 21 | 18 c4 08 c5 5c 22 83 13 |e "....!|....\"..|
|00001450| 00 c6 c7 21 82 31 00 c4 | 08 c8 5c 22 83 5c 22 00 |...!.1..|..\".\".|
|00001460| c9 c2 ca 21 21 82 31 00 | cb c2 cc 21 cd ce 21 c2 |...!!.1.|...!..!.|
|00001470| ca 21 08 c2 cf 21 25 29 | 87 22 20 5b 63 6c 61 73 |.!...!%)|." [clas|
|00001480| 73 20 6e 69 6c 20 73 61 | 73 2d 63 2d 73 63 6d 73 |s nil sa|s-c-scms|
|00001490| 67 2d 73 74 72 20 22 63 | 6c 61 73 73 22 20 65 71 |g-str "c|lass" eq|
|000014a0| 75 61 6c 20 22 22 20 6d | 65 73 73 61 67 65 20 22 |ual "" m|essage "|
|000014b0| 4e 6f 20 65 72 72 6f 72 | 20 74 6f 20 64 69 73 70 |No error| to disp|
|000014c0| 6c 61 79 22 20 22 4e 6f | 74 65 22 20 73 61 73 2d |lay" "No|te" sas-|
|000014d0| 63 2d 76 69 65 77 2d 6e | 6f 74 65 20 22 74 65 78 |c-view-n|ote "tex|
|000014e0| 74 22 20 73 61 73 2d 63 | 2d 76 69 65 77 2d 6d 65 |t" sas-c|-view-me|
|000014f0| 73 73 61 67 65 20 22 66 | 69 6c 65 22 20 73 61 73 |ssage "f|ile" sas|
|00001500| 2d 63 2d 73 63 6d 73 67 | 2d 6e 75 6d 20 22 6c 69 |-c-scmsg|-num "li|
|00001510| 6e 65 22 20 22 65 72 72 | 6e 75 6d 22 5d 20 31 36 |ne" "err|num"] 16|
|00001520| 29 29 0a 0a 28 64 65 66 | 75 6e 20 73 61 73 2d 63 |))..(def|un sas-c|
|00001530| 2d 64 69 73 70 6c 61 79 | 2d 61 6c 74 66 69 6c 65 |-display|-altfile|
|00001540| 20 6e 69 6c 20 22 5c 0a | 44 69 73 70 6c 61 79 20 | nil "\.|Display |
|00001550| 74 68 65 20 73 65 63 6f | 6e 64 61 72 79 20 66 69 |the seco|ndary fi|
|00001560| 6c 65 2e 20 28 53 61 6d | 65 20 61 73 20 43 2d 75 |le. (Sam|e as C-u|
|00001570| 20 73 61 73 2d 63 2d 64 | 69 73 70 6c 61 79 2d 65 | sas-c-d|isplay-e|
|00001580| 72 72 6f 72 2e 29 22 20 | 28 69 6e 74 65 72 61 63 |rror.)" |(interac|
|00001590| 74 69 76 65 29 20 28 62 | 79 74 65 2d 63 6f 64 65 |tive) (b|yte-code|
|000015a0| 20 22 c1 88 c2 c3 21 18 | c4 08 c5 5c 22 83 13 00 | "....!.|...\"...|
|000015b0| c6 c7 21 82 5c 22 00 c8 | 08 c9 ca 21 c2 cb 21 c2 |..!.\"..|...!..!.|
|000015c0| cc 21 c2 cd 21 25 29 87 | 22 20 5b 66 69 6c 65 20 |.!..!%).|" [file |
|000015d0| 6e 69 6c 20 73 61 73 2d | 63 2d 73 63 6d 73 67 2d |nil sas-|c-scmsg-|
|000015e0| 73 74 72 20 22 61 6c 74 | 66 69 6c 65 22 20 65 71 |str "alt|file" eq|
|000015f0| 75 61 6c 20 22 22 20 6d | 65 73 73 61 67 65 20 22 |ual "" m|essage "|
|00001600| 4e 6f 20 61 6c 74 65 72 | 6e 61 74 65 20 66 69 6c |No alter|nate fil|
|00001610| 65 22 20 73 61 73 2d 63 | 2d 76 69 65 77 2d 6d 65 |e" sas-c|-view-me|
|00001620| 73 73 61 67 65 20 73 61 | 73 2d 63 2d 73 63 6d 73 |ssage sa|s-c-scms|
|00001630| 67 2d 6e 75 6d 20 22 61 | 6c 74 6c 69 6e 65 22 20 |g-num "a|ltline" |
|00001640| 22 74 65 78 74 22 20 22 | 63 6c 61 73 73 22 20 22 |"text" "|class" "|
|00001650| 65 72 72 6e 75 6d 22 5d | 20 31 33 29 29 0a 0a 28 |errnum"]| 13))..(|
|00001660| 64 65 66 75 6e 20 73 61 | 73 2d 63 2d 76 69 65 77 |defun sa|s-c-view|
|00001670| 2d 6d 65 73 73 61 67 65 | 20 28 66 69 6c 65 20 6c |-message| (file l|
|00001680| 69 6e 65 20 74 65 78 74 | 20 63 6c 61 73 73 20 65 |ine text| class e|
|00001690| 72 72 6e 75 6d 29 20 28 | 62 79 74 65 2d 63 6f 64 |rrnum) (|byte-cod|
|000016a0| 65 20 22 c7 08 c8 5c 22 | 83 0b 00 c1 82 16 00 c9 |e "...\"|........|
|000016b0| 08 21 88 ca 60 21 88 cb | 0a 21 88 cc cd 0c 5c 22 |.!..`!..|.!....\"|
|000016c0| 1b 0b 85 26 00 0c ce 0b | 4f 89 14 88 cf d0 d1 0d |...&....|O.......|
|000016d0| 0e 06 0b 83 35 00 d2 82 | 36 00 c8 0c 25 21 29 87 |....5...|6...%!).|
|000016e0| 22 20 5b 66 69 6c 65 20 | 6e 69 6c 20 6c 69 6e 65 |" [file |nil line|
|000016f0| 20 69 73 61 6c 74 20 74 | 65 78 74 20 63 6c 61 73 | isalt t|ext clas|
|00001700| 73 20 65 72 72 6e 75 6d | 20 65 71 75 61 6c 20 22 |s errnum| equal "|
|00001710| 22 20 73 61 73 2d 63 2d | 67 65 74 2d 66 69 6c 65 |" sas-c-|get-file|
|00001720| 20 73 65 74 2d 6d 61 72 | 6b 20 67 6f 74 6f 2d 6c | set-mar|k goto-l|
|00001730| 69 6e 65 20 73 74 72 69 | 6e 67 2d 6d 61 74 63 68 |ine stri|ng-match|
|00001740| 20 22 3b 20 53 65 65 20 | 6c 69 6e 65 20 5b 30 2d | "; See |line [0-|
|00001750| 39 5d 2a 20 66 69 6c 65 | 20 5c 22 2e 2a 5c 22 22 |9]* file| \".*\""|
|00001760| 20 30 20 6d 65 73 73 61 | 67 65 20 66 6f 72 6d 61 | 0 messa|ge forma|
|00001770| 74 20 22 25 73 20 25 73 | 25 73 3a 20 25 73 22 20 |t "%s %s|%s: %s" |
|00001780| 22 20 28 41 6c 74 29 22 | 5d 20 31 32 29 29 0a 0a |" (Alt)"|] 12))..|
|00001790| 28 64 65 66 75 6e 20 73 | 61 73 2d 63 2d 76 69 65 |(defun s|as-c-vie|
|000017a0| 77 2d 6e 6f 74 65 20 28 | 74 65 78 74 29 20 28 62 |w-note (|text) (b|
|000017b0| 79 74 65 2d 63 6f 64 65 | 20 22 c1 c2 c3 08 5c 22 |yte-code| "....\"|
|000017c0| 21 87 22 20 5b 74 65 78 | 74 20 6d 65 73 73 61 67 |!." [tex|t messag|
|000017d0| 65 20 66 6f 72 6d 61 74 | 20 22 4e 6f 74 65 3a 20 |e format| "Note: |
|000017e0| 25 73 22 5d 20 34 29 29 | 0a 0a 28 64 65 66 75 6e |%s"] 4))|..(defun|
|000017f0| 20 73 61 73 2d 63 2d 67 | 65 74 2d 66 69 6c 65 20 | sas-c-g|et-file |
|00001800| 28 66 69 6c 65 29 20 22 | 5c 0a 47 65 74 20 74 68 |(file) "|\.Get th|
|00001810| 65 20 66 69 6c 65 20 72 | 65 71 75 65 73 74 65 64 |e file r|equested|
|00001820| 20 69 6e 74 6f 20 61 20 | 76 69 73 69 61 62 6c 65 | into a |visiable|
|00001830| 20 62 75 66 66 65 72 2e | 22 20 28 62 79 74 65 2d | buffer.|" (byte-|
|00001840| 63 6f 64 65 20 22 c3 09 | 21 18 08 83 1d 00 c4 08 |code "..|!.......|
|00001850| 21 1a 0a 83 16 00 c5 0a | 21 82 19 00 c6 08 21 29 |!.......|!.....!)|
|00001860| 82 20 00 c7 09 21 29 87 | 22 20 5b 62 75 66 20 66 |. ...!).|" [buf f|
|00001870| 69 6c 65 20 77 69 6e 20 | 67 65 74 2d 66 69 6c 65 |ile win |get-file|
|00001880| 2d 62 75 66 66 65 72 20 | 67 65 74 2d 62 75 66 66 |-buffer |get-buff|
|00001890| 65 72 2d 77 69 6e 64 6f | 77 20 73 65 6c 65 63 74 |er-windo|w select|
|000018a0| 2d 77 69 6e 64 6f 77 20 | 73 77 69 74 63 68 2d 74 |-window |switch-t|
|000018b0| 6f 2d 62 75 66 66 65 72 | 20 66 69 6e 64 2d 66 69 |o-buffer| find-fi|
|000018c0| 6c 65 5d 20 36 29 29 0a | 0a 28 64 65 66 75 6e 20 |le] 6)).|.(defun |
|000018d0| 73 61 73 2d 63 2d 73 63 | 6d 73 67 20 28 63 6f 6d |sas-c-sc|msg (com|
|000018e0| 6d 61 6e 64 29 20 22 5c | 0a 53 65 6e 64 73 20 61 |mand) "\|.Sends a|
|000018f0| 20 63 6f 6d 6d 61 6e 64 | 20 74 6f 20 53 43 4d 53 | command| to SCMS|
|00001900| 47 2e 0a 52 65 74 75 72 | 6e 73 20 74 68 65 20 72 |G..Retur|ns the r|
|00001910| 65 74 75 72 6e 63 6f 64 | 65 20 73 65 74 20 62 79 |eturncod|e set by|
|00001920| 20 53 43 4d 53 47 22 20 | 28 62 79 74 65 2d 63 6f | SCMSG" |(byte-co|
|00001930| 64 65 20 22 c2 c3 c4 08 | c5 51 c1 5c 22 21 87 22 |de "....|.Q.\"!."|
|00001940| 20 5b 63 6f 6d 6d 61 6e | 64 20 74 20 73 74 72 69 | [comman|d t stri|
|00001950| 6e 67 2d 74 6f 2d 69 6e | 74 20 61 6d 69 67 61 2d |ng-to-in|t amiga-|
|00001960| 61 72 65 78 78 2d 64 6f | 2d 63 6f 6d 6d 61 6e 64 |arexx-do|-command|
|00001970| 20 22 61 64 64 72 65 73 | 73 20 27 53 43 5f 53 43 | "addres|s 'SC_SC|
|00001980| 4d 53 47 27 20 27 22 20 | 22 27 3b 20 65 78 69 74 |MSG' '" |"'; exit|
|00001990| 20 72 63 22 5d 20 35 29 | 29 0a 0a 28 64 65 66 75 | rc"] 5)|)..(defu|
|000019a0| 6e 20 73 61 73 2d 63 2d | 73 63 6d 73 67 2d 73 74 |n sas-c-|scmsg-st|
|000019b0| 72 20 28 63 6f 6d 6d 61 | 6e 64 29 20 22 5c 0a 53 |r (comma|nd) "\.S|
|000019c0| 65 6e 64 73 20 61 20 63 | 6f 6d 6d 61 6e 64 20 74 |ends a c|ommand t|
|000019d0| 6f 20 53 43 4d 53 47 20 | 61 6e 64 20 72 65 74 75 |o SCMSG |and retu|
|000019e0| 72 6e 73 20 74 68 65 20 | 72 65 73 75 6c 74 20 73 |rns the |result s|
|000019f0| 74 72 69 6e 67 2e 22 20 | 28 62 79 74 65 2d 63 6f |tring." |(byte-co|
|00001a00| 64 65 20 22 c2 c3 08 c4 | 51 c1 5c 22 87 22 20 5b |de "....|Q.\"." [|
|00001a10| 63 6f 6d 6d 61 6e 64 20 | 74 20 61 6d 69 67 61 2d |command |t amiga-|
|00001a20| 61 72 65 78 78 2d 64 6f | 2d 63 6f 6d 6d 61 6e 64 |arexx-do|-command|
|00001a30| 20 22 6f 70 74 69 6f 6e | 73 20 72 65 73 75 6c 74 | "option|s result|
|00001a40| 73 3b 20 61 64 64 72 65 | 73 73 20 27 53 43 5f 53 |s; addre|ss 'SC_S|
|00001a50| 43 4d 53 47 27 20 27 22 | 20 22 27 3b 20 72 65 74 |CMSG' '"| "'; ret|
|00001a60| 75 72 6e 20 72 65 73 75 | 6c 74 22 5d 20 34 29 29 |urn resu|lt"] 4))|
|00001a70| 0a 0a 28 64 65 66 75 6e | 20 73 61 73 2d 63 2d 73 |..(defun| sas-c-s|
|00001a80| 63 6d 73 67 2d 6e 75 6d | 20 28 63 6f 6d 6d 61 6e |cmsg-num| (comman|
|00001a90| 64 29 20 22 5c 0a 53 65 | 6e 64 73 20 61 20 63 6f |d) "\.Se|nds a co|
|00001aa0| 6d 6d 61 6e 64 20 74 6f | 20 53 43 4d 53 47 20 61 |mmand to| SCMSG a|
|00001ab0| 6e 64 20 72 65 74 75 72 | 6e 73 20 74 68 65 20 72 |nd retur|ns the r|
|00001ac0| 65 73 75 6c 74 69 6e 67 | 20 6e 75 6d 62 65 72 2e |esulting| number.|
|00001ad0| 22 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c2 c3 |" (byte-|code "..|
|00001ae0| c4 08 c5 51 c1 5c 22 21 | 87 22 20 5b 63 6f 6d 6d |...Q.\"!|." [comm|
|00001af0| 61 6e 64 20 74 20 73 74 | 72 69 6e 67 2d 74 6f 2d |and t st|ring-to-|
|00001b00| 69 6e 74 20 61 6d 69 67 | 61 2d 61 72 65 78 78 2d |int amig|a-arexx-|
|00001b10| 64 6f 2d 63 6f 6d 6d 61 | 6e 64 20 22 6f 70 74 69 |do-comma|nd "opti|
|00001b20| 6f 6e 73 20 72 65 73 75 | 6c 74 73 3b 20 61 64 64 |ons resu|lts; add|
|00001b30| 72 65 73 73 20 27 53 43 | 5f 53 43 4d 53 47 27 20 |ress 'SC|_SCMSG' |
|00001b40| 27 22 20 22 27 3b 20 72 | 65 74 75 72 6e 20 72 65 |'" "'; r|eturn re|
|00001b50| 73 75 6c 74 22 5d 20 35 | 29 29 0a |sult"] 5|)). |
+--------+-------------------------+-------------------------+--------+--------+